<%--
  Created by IntelliJ IDEA.
  User: v
  Date: 17-3-21
  Time: 下午8:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Test6</title>
    <meta charset="utf-8"/>
</head>
<body>
<form name="form" method="post" action="deal.jsp" onsubmit="document.charcet('UTF-8')" accept-charset="UTF-8">
    <input type="text" name="text"/>
    <input type="submit" value="提交"/>
</form>
<a href="deal.jsp?name=张三">测试一把乱码</a>
</body>
</html>
